package com.qf.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.Scheduled;

import java.time.LocalDateTime;

@Configuration
public class MyJobConfig {

    @Scheduled(cron = "0/5 * * * * ?")
    public void xx(){
        System.out.println("11111111111-->" + LocalDateTime.now());
    }
}
